#!/usr/bin/awk -f

# converts feet and inches into millimeters and outputs the cm into mm
# usage:  ./parseActual.awk < actual.txt > actual_mm.txt
{
   if($1 != "#" ){
      split($0,a,"\t")
      mm=(a[2]*12 + a[3])*25.4
      printf("%d\t%d\t%d\n", a[1],mm,(a[4]*10))
   } else {
      print $0
   }
}
